Next release#1685
Conversation
…d background processing
…into next_release
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (3)
📝 WalkthroughWalkthroughThe PR adds a ChangesConditional reload-wait after settings save
Sequence Diagram(s)sequenceDiagram
participant Browser
participant settings.php as settings.php (JS)
participant util.php as saveSettings() (PHP)
participant getReloadWaitRequired as getReloadWaitRequired()
participant normalizePluginList as normalizePluginList()
Browser->>settings.php: User clicks Save
settings.php->>util.php: AJAX POST new settings
util.php->>getReloadWaitRequired: $decodedSettings
getReloadWaitRequired->>normalizePluginList: normalize old LOADED_PLUGINS
getReloadWaitRequired->>normalizePluginList: normalize new LOADED_PLUGINS
normalizePluginList-->>getReloadWaitRequired: sorted JSON strings
getReloadWaitRequired-->>util.php: requiresReloadWait (bool)
util.php-->>settings.php: { success: true, requiresReloadWait }
alt requiresReloadWait == true
settings.php->>Browser: clearCache() — blocking reload
else requiresReloadWait == false
settings.php->>Browser: show settings_saved_background message
end
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@server/initialise.py`:
- Line 460: The metadata definition for the boolean dataType in initialise.py
has an elementType set to "checkbox" which does not match the expected parser
contract in helper.py that requires elementType to be "input" for dataType
"boolean". Change the elementType value from "checkbox" to "input" in the JSON
string that defines the boolean metadata structure to align with the backend
boolean conversion path and ensure consistent normalization for
UI_WAIT_FOR_SETTINGS.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b6bd4726-7371-4f88-b4c5-6954cf212c6d
📒 Files selected for processing (5)
front/php/server/util.phpfront/php/templates/language/en_us.jsonfront/settings.phpserver/conf.pyserver/initialise.py
Summary by CodeRabbit
Release Notes